﻿using demo.Models.DTOs;
using demo.Models;

namespace demo.Interfaces
{
    public interface IStockService
    {
        Task<int> GetAllStockinsCountAsync();
        Task<int> GetAllStockoutsCountAsync();
        Task AddStockInAsync(StockInDto stockInDto);
        Task AddStockOutAsync(StockOutDto stockOutDto);
        Task<List<StockInDetailDto>> GetStockInDetailsAsync(int page, int pageSize);
        Task<List<StockOutDetailDto>> GetStockOutDetailsAsync(int page, int pageSize);
        Task<StockRecordDto> GetStockRecordsAsync(int productId, DateTime startDate, DateTime endDate);
        Task<DailyStockSummaryDto> GetDailyStockSummaryAsync(DateTime date);
    }
}
